package cn.iocoder.yudao.module.shop.controller.admin.member.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.AssertTrue;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Objects;

@Data
public class TimesRechargeCreateReqVO {
    @Schema(description = "艾灸师id",  example = "1")
    @NotNull(message = "艾灸师id不能为空")
    private Long userId;

    @Schema(description = "会员id",  example = "1")
    @NotNull(message = "会员id不能为空")
    private Long memberId;

    @Schema(description = "项目id",  example = "1")
    @NotNull(message = "会员id不能为空")
    private Long itemId;

    @Schema(description = "充值次数",  example = "1")
    @NotNull(message = "会员id不能为空")
    private Integer times;

    @Schema(description = "支付金额",  example = "1000")
    @NotNull(message = "会员id不能为空")
    @Min(value = 0,  message = "支付金额必须大于等于零")
    private Integer payPrice;

    @Schema(description = "是否首充", example = "1024")
    private Boolean isFirst;

    @Schema(description = "店铺id", example = "1024")
    private Long tenantId;
}
